package com.atqh.logistics.domin;

import com.atqh.logistics.utils.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * @TableName requests
 */
@TableName(value ="requests")
@Data
@ApiModel(value="Request对象", description="申请")
public class Requests extends BaseEntity {

    /**
     * 申请标题
     */
    @ApiModelProperty(value = "申请标题")
    private String title;

    /**
     * 申请内容
     */
    @ApiModelProperty(value = "申请内容")
    private String request;

    /**
     * 关联司机id
     */
    @ApiModelProperty(value = "关联司机id")
    private Integer driverId;

    /**
     * 申请状态（1：接受；0：拒绝）
     */
    @ApiModelProperty(value = "申请状态（1：接受；0：拒绝）")
    private Integer flag;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}